@import './extend/center.less';

*{
	margin: 0;
	padding: 0;
}

#wrap{
	position: relative;
	width: 300px;
	height: 300px;
	border: 1px solid black;
	margin: 0 auto;
	.inner{
		&:extend(.center all);
		&:nth-child(1) {
			width: 100px;
			height: 100px;
			background: red;
		}
		&:nth-child(2) {
			width: 50px;
			height: 50px;
			background: yellow;
		}
	}
}